package domain;

import domain.enums.PlayerType;

public class Player 
{

	private Position position;
	private PlayerType type;
	
	public Player(Position p, PlayerType t)
	{
		position = p;
		type = t;
	}
	
	public Position getPosition()
	{
		return position;
	}
	
	public void setPosition(Position p)
	{
		position = p;
	}
	
	public PlayerType getType()
	{
		return type;
	}

	@Override
	public Object clone()
	{
		return new Player(position.clone(), getType());
	}
}
